No need to check for visibility before calling gtk_widget_measure().
GtkAdjustment *hadjustment;
GtkAdjustment *vadjustment;
-
+
/* GtkScrollablePolicy needs to be checked when
* driving the scrollable adjustment values */
guint hscroll_policy : 1;
{
GtkViewport *viewport = GTK_VIEWPORT (widget);
- *minimum = *natural = 0;
-
- if (viewport->child && gtk_widget_get_visible (viewport->child))
+ if (viewport->child)
gtk_widget_measure (viewport->child,
orientation,
for_size,